/**
 * Created by Administrator on 2017/5/3.
 */

(function () {
    var env = process.env.NODE_ENV || 'local';
    console.log('Run in ' + env + ' mode!');
    this.isDev = (env == 'development' || env == 'local');
    this.CONFIG = require('../config/config_local.js');
    if (env == 'development') {
        this.CONFIG = require('../config/config_qa.js');
    } else if (env == "production") {
        this.CONFIG = require('../config/config_rel.js');
    }
    CLOG("Environment %s config files has been loaded.", env);
})();